home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-10-20 | 10.5 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 64 a7 01 2f 2f 3d 3d 3d |........|d..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 55 |========|==..// U|
|00000060| 57 69 6e 64 6f 77 52 6f | 6f 74 57 69 6e 64 6f 77 |WindowRo|otWindow|
|00000070| 20 2d 20 74 68 65 20 72 | 6f 6f 74 20 77 69 6e 64 | - the r|oot wind|
|00000080| 6f 77 2e 0d 0a 2f 2f 3d | 3d 3d 3d 3d 3d 3d 3d 3d |ow...//=|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 0d 0a 63 6c | 61 73 73 20 55 57 69 6e |====..cl|ass UWin|
|000000e0| 64 6f 77 52 6f 6f 74 57 | 69 6e 64 6f 77 20 65 78 |dowRootW|indow ex|
|000000f0| 74 65 6e 64 73 20 55 57 | 69 6e 64 6f 77 57 69 6e |tends UW|indowWin|
|00000100| 64 6f 77 3b 0d 0a 0d 0a | 23 65 78 65 63 20 54 45 |dow;....|#exec TE|
|00000110| 58 54 55 52 45 20 49 4d | 50 4f 52 54 20 4e 41 4d |XTURE IM|PORT NAM|
|00000120| 45 3d 4d 6f 75 73 65 43 | 75 72 73 6f 72 20 46 49 |E=MouseC|ursor FI|
|00000130| 4c 45 3d 54 65 78 74 75 | 72 65 73 5c 4d 6f 75 73 |LE=Textu|res\Mous|
|00000140| 65 43 75 72 73 6f 72 2e | 62 6d 70 20 47 52 4f 55 |eCursor.|bmp GROU|
|00000150| 50 3d 22 49 63 6f 6e 73 | 22 20 46 4c 41 47 53 3d |P="Icons|" FLAGS=|
|00000160| 32 20 4d 49 50 53 3d 4f | 46 46 0d 0a 23 65 78 65 |2 MIPS=O|FF..#exe|
|00000170| 63 20 54 45 58 54 55 52 | 45 20 49 4d 50 4f 52 54 |c TEXTUR|E IMPORT|
|00000180| 20 4e 41 4d 45 3d 4d 6f | 75 73 65 4d 6f 76 65 20 | NAME=Mo|useMove |
|00000190| 46 49 4c 45 3d 54 65 78 | 74 75 72 65 73 5c 4d 6f |FILE=Tex|tures\Mo|
|000001a0| 75 73 65 4d 6f 76 65 2e | 62 6d 70 20 47 52 4f 55 |useMove.|bmp GROU|
|000001b0| 50 3d 22 49 63 6f 6e 73 | 22 20 46 4c 41 47 53 3d |P="Icons|" FLAGS=|
|000001c0| 32 20 4d 49 50 53 3d 4f | 46 46 0d 0a 23 65 78 65 |2 MIPS=O|FF..#exe|
|000001d0| 63 20 54 45 58 54 55 52 | 45 20 49 4d 50 4f 52 54 |c TEXTUR|E IMPORT|
|000001e0| 20 4e 41 4d 45 3d 4d 6f | 75 73 65 44 69 61 67 31 | NAME=Mo|useDiag1|
|000001f0| 20 46 49 4c 45 3d 54 65 | 78 74 75 72 65 73 5c 4d | FILE=Te|xtures\M|
|00000200| 6f 75 73 65 44 69 61 67 | 31 2e 62 6d 70 20 47 52 |ouseDiag|1.bmp GR|
|00000210| 4f 55 50 3d 22 49 63 6f | 6e 73 22 20 46 4c 41 47 |OUP="Ico|ns" FLAG|
|00000220| 53 3d 32 20 4d 49 50 53 | 3d 4f 46 46 0d 0a 23 65 |S=2 MIPS|=OFF..#e|
|00000230| 78 65 63 20 54 45 58 54 | 55 52 45 20 49 4d 50 4f |xec TEXT|URE IMPO|
|00000240| 52 54 20 4e 41 4d 45 3d | 4d 6f 75 73 65 44 69 61 |RT NAME=|MouseDia|
|00000250| 67 32 20 46 49 4c 45 3d | 54 65 78 74 75 72 65 73 |g2 FILE=|Textures|
|00000260| 5c 4d 6f 75 73 65 44 69 | 61 67 32 2e 62 6d 70 20 |\MouseDi|ag2.bmp |
|00000270| 47 52 4f 55 50 3d 22 49 | 63 6f 6e 73 22 20 46 4c |GROUP="I|cons" FL|
|00000280| 41 47 53 3d 32 20 4d 49 | 50 53 3d 4f 46 46 0d 0a |AGS=2 MI|PS=OFF..|
|00000290| 23 65 78 65 63 20 54 45 | 58 54 55 52 45 20 49 4d |#exec TE|XTURE IM|
|000002a0| 50 4f 52 54 20 4e 41 4d | 45 3d 4d 6f 75 73 65 4e |PORT NAM|E=MouseN|
|000002b0| 53 20 46 49 4c 45 3d 54 | 65 78 74 75 72 65 73 5c |S FILE=T|extures\|
|000002c0| 4d 6f 75 73 65 4e 53 2e | 62 6d 70 20 47 52 4f 55 |MouseNS.|bmp GROU|
|000002d0| 50 3d 22 49 63 6f 6e 73 | 22 20 46 4c 41 47 53 3d |P="Icons|" FLAGS=|
|000002e0| 32 20 4d 49 50 53 3d 4f | 46 46 0d 0a 23 65 78 65 |2 MIPS=O|FF..#exe|
|000002f0| 63 20 54 45 58 54 55 52 | 45 20 49 4d 50 4f 52 54 |c TEXTUR|E IMPORT|
|00000300| 20 4e 41 4d 45 3d 4d 6f | 75 73 65 57 45 20 46 49 | NAME=Mo|useWE FI|
|00000310| 4c 45 3d 54 65 78 74 75 | 72 65 73 5c 4d 6f 75 73 |LE=Textu|res\Mous|
|00000320| 65 57 45 2e 62 6d 70 20 | 47 52 4f 55 50 3d 22 49 |eWE.bmp |GROUP="I|
|00000330| 63 6f 6e 73 22 20 46 4c | 41 47 53 3d 32 20 4d 49 |cons" FL|AGS=2 MI|
|00000340| 50 53 3d 4f 46 46 0d 0a | 23 65 78 65 63 20 54 45 |PS=OFF..|#exec TE|
|00000350| 58 54 55 52 45 20 49 4d | 50 4f 52 54 20 4e 41 4d |XTURE IM|PORT NAM|
|00000360| 45 3d 4d 6f 75 73 65 48 | 61 6e 64 20 46 49 4c 45 |E=MouseH|and FILE|
|00000370| 3d 54 65 78 74 75 72 65 | 73 5c 4d 6f 75 73 65 48 |=Texture|s\MouseH|
|00000380| 61 6e 64 2e 62 6d 70 20 | 47 52 4f 55 50 3d 22 49 |and.bmp |GROUP="I|
|00000390| 63 6f 6e 73 22 20 46 4c | 41 47 53 3d 32 20 4d 49 |cons" FL|AGS=2 MI|
|000003a0| 50 53 3d 4f 46 46 0d 0a | 23 65 78 65 63 20 54 45 |PS=OFF..|#exec TE|
|000003b0| 58 54 55 52 45 20 49 4d | 50 4f 52 54 20 4e 41 4d |XTURE IM|PORT NAM|
|000003c0| 45 3d 4d 6f 75 73 65 48 | 53 70 6c 69 74 20 46 49 |E=MouseH|Split FI|
|000003d0| 4c 45 3d 54 65 78 74 75 | 72 65 73 5c 4d 6f 75 73 |LE=Textu|res\Mous|
|000003e0| 65 48 53 70 6c 69 74 2e | 62 6d 70 20 47 52 4f 55 |eHSplit.|bmp GROU|
|000003f0| 50 3d 22 49 63 6f 6e 73 | 22 20 46 4c 41 47 53 3d |P="Icons|" FLAGS=|
|00000400| 32 20 4d 49 50 53 3d 4f | 46 46 0d 0a 23 65 78 65 |2 MIPS=O|FF..#exe|
|00000410| 63 20 54 45 58 54 55 52 | 45 20 49 4d 50 4f 52 54 |c TEXTUR|E IMPORT|
|00000420| 20 4e 41 4d 45 3d 4d 6f | 75 73 65 56 53 70 6c 69 | NAME=Mo|useVSpli|
|00000430| 74 20 46 49 4c 45 3d 54 | 65 78 74 75 72 65 73 5c |t FILE=T|extures\|
|00000440| 4d 6f 75 73 65 56 53 70 | 6c 69 74 2e 62 6d 70 20 |MouseVSp|lit.bmp |
|00000450| 47 52 4f 55 50 3d 22 49 | 63 6f 6e 73 22 20 46 4c |GROUP="I|cons" FL|
|00000460| 41 47 53 3d 32 20 4d 49 | 50 53 3d 4f 46 46 0d 0a |AGS=2 MI|PS=OFF..|
|00000470| 23 65 78 65 63 20 54 45 | 58 54 55 52 45 20 49 4d |#exec TE|XTURE IM|
|00000480| 50 4f 52 54 20 4e 41 4d | 45 3d 4d 6f 75 73 65 57 |PORT NAM|E=MouseW|
|00000490| 61 69 74 20 46 49 4c 45 | 3d 54 65 78 74 75 72 65 |ait FILE|=Texture|
|000004a0| 73 5c 4d 6f 75 73 65 57 | 61 69 74 2e 62 6d 70 20 |s\MouseW|ait.bmp |
|000004b0| 47 52 4f 55 50 3d 22 49 | 63 6f 6e 73 22 20 46 4c |GROUP="I|cons" FL|
|000004c0| 41 47 53 3d 32 20 4d 49 | 50 53 3d 4f 46 46 0d 0a |AGS=2 MI|PS=OFF..|
|000004d0| 0d 0a 0d 0a 2f 2f 21 21 | 20 4a 61 70 61 6e 65 73 |....//!!| Japanes|
|000004e0| 65 20 74 65 78 74 20 28 | 65 78 70 65 72 69 6d 65 |e text (|experime|
|000004f0| 6e 74 61 6c 29 2e 0d 0a | 2f 2f 23 65 78 65 63 20 |ntal)...|//#exec |
|00000500| 4f 42 4a 20 4c 4f 41 44 | 20 46 49 4c 45 3d 2e 2e |OBJ LOAD| FILE=..|
|00000510| 5c 54 65 78 74 75 72 65 | 73 5c 4a 61 70 61 6e 65 |\Texture|s\Japane|
|00000520| 73 65 2e 75 74 78 0d 0a | 0d 0a 76 61 72 20 55 57 |se.utx..|..var UW|
|00000530| 69 6e 64 6f 77 57 69 6e | 64 6f 77 09 09 4d 6f 75 |indowWin|dow..Mou|
|00000540| 73 65 57 69 6e 64 6f 77 | 3b 09 09 2f 2f 20 54 68 |seWindow|;..// Th|
|00000550| 65 20 77 69 6e 64 6f 77 | 20 74 68 65 20 6d 6f 75 |e window| the mou|
|00000560| 73 65 20 69 73 20 6f 76 | 65 72 0d 0a 76 61 72 20 |se is ov|er..var |
|00000570| 62 6f 6f 6c 09 09 09 09 | 62 4d 6f 75 73 65 43 61 |bool....|bMouseCa|
|00000580| 70 74 75 72 65 3b 0d 0a | 76 61 72 20 66 6c 6f 61 |pture;..|var floa|
|00000590| 74 09 09 09 09 4d 6f 75 | 73 65 58 2c 20 4d 6f 75 |t....Mou|seX, Mou|
|000005a0| 73 65 59 3b 0d 0a 76 61 | 72 20 66 6c 6f 61 74 09 |seY;..va|r float.|
|000005b0| 09 09 09 4f 6c 64 4d 6f | 75 73 65 58 2c 20 4f 6c |...OldMo|useX, Ol|
|000005c0| 64 4d 6f 75 73 65 59 3b | 0d 0a 76 61 72 20 57 69 |dMouseY;|..var Wi|
|000005d0| 6e 64 6f 77 43 6f 6e 73 | 6f 6c 65 09 09 43 6f 6e |ndowCons|ole..Con|
|000005e0| 73 6f 6c 65 3b 0d 0a 76 | 61 72 20 55 57 69 6e 64 |sole;..v|ar UWind|
|000005f0| 6f 77 57 69 6e 64 6f 77 | 09 09 46 6f 63 75 73 65 |owWindow|..Focuse|
|00000600| 64 57 69 6e 64 6f 77 3b | 0d 0a 76 61 72 20 55 57 |dWindow;|..var UW|
|00000610| 69 6e 64 6f 77 57 69 6e | 64 6f 77 09 09 4b 65 79 |indowWin|dow..Key|
|00000620| 46 6f 63 75 73 57 69 6e | 64 6f 77 3b 09 09 2f 2f |FocusWin|dow;..//|
|00000630| 20 77 69 6e 64 6f 77 20 | 77 69 74 68 20 6b 65 79 | window |with key|
|00000640| 62 6f 61 72 64 20 66 6f | 63 75 73 0d 0a 76 61 72 |board fo|cus..var|
|00000650| 20 4d 6f 75 73 65 43 75 | 72 73 6f 72 09 09 09 4e | MouseCu|rsor...N|
|00000660| 6f 72 6d 61 6c 43 75 72 | 73 6f 72 2c 20 4d 6f 76 |ormalCur|sor, Mov|
|00000670| 65 43 75 72 73 6f 72 2c | 20 44 69 61 67 43 75 72 |eCursor,| DiagCur|
|00000680| 73 6f 72 31 2c 20 48 61 | 6e 64 43 75 72 73 6f 72 |sor1, Ha|ndCursor|
|00000690| 2c 20 48 53 70 6c 69 74 | 43 75 72 73 6f 72 2c 20 |, HSplit|Cursor, |
|000006a0| 56 53 70 6c 69 74 43 75 | 72 73 6f 72 2c 20 44 69 |VSplitCu|rsor, Di|
|000006b0| 61 67 43 75 72 73 6f 72 | 32 2c 20 4e 53 43 75 72 |agCursor|2, NSCur|
|000006c0| 73 6f 72 2c 20 57 45 43 | 75 72 73 6f 72 2c 20 57 |sor, WEC|ursor, W|
|000006d0| 61 69 74 43 75 72 73 6f | 72 3b 0d 0a 76 61 72 20 |aitCurso|r;..var |
|000006e0| 62 6f 6f 6c 09 09 09 09 | 62 51 75 69 63 6b 4b 65 |bool....|bQuickKe|
|000006f0| 79 45 6e 61 62 6c 65 3b | 0d 0a 76 61 72 20 55 57 |yEnable;|..var UW|
|00000700| 69 6e 64 6f 77 48 6f 74 | 6b 65 79 57 69 6e 64 6f |indowHot|keyWindo|
|00000710| 77 4c 69 73 74 09 48 6f | 74 6b 65 79 57 69 6e 64 |wList.Ho|tkeyWind|
|00000720| 6f 77 73 3b 0d 0a 76 61 | 72 20 63 6f 6e 66 69 67 |ows;..va|r config|
|00000730| 20 66 6c 6f 61 74 09 09 | 47 55 49 53 63 61 6c 65 | float..|GUIScale|
|00000740| 3b 0d 0a 76 61 72 20 66 | 6c 6f 61 74 09 09 09 09 |;..var f|loat....|
|00000750| 52 65 61 6c 57 69 64 74 | 68 2c 20 52 65 61 6c 48 |RealWidt|h, RealH|
|00000760| 65 69 67 68 74 3b 0d 0a | 76 61 72 20 46 6f 6e 74 |eight;..|var Font|
|00000770| 09 09 09 09 46 6f 6e 74 | 73 5b 31 30 5d 3b 0d 0a |....Font|s[10];..|
|00000780| 76 61 72 20 55 57 69 6e | 64 6f 77 4c 6f 6f 6b 41 |var UWin|dowLookA|
|00000790| 6e 64 46 65 65 6c 09 4c | 6f 6f 6b 73 41 6e 64 46 |ndFeel.L|ooksAndF|
|000007a0| 65 65 6c 73 5b 32 30 5d | 3b 0d 0a 76 61 72 20 63 |eels[20]|;..var c|
|000007b0| 6f 6e 66 69 67 20 73 74 | 72 69 6e 67 09 09 4c 6f |onfig st|ring..Lo|
|000007c0| 6f 6b 41 6e 64 46 65 65 | 6c 43 6c 61 73 73 3b 0d |okAndFee|lClass;.|
|000007d0| 0a 76 61 72 20 62 6f 6f | 6c 09 09 09 09 62 52 65 |.var boo|l....bRe|
|000007e0| 71 75 65 73 74 51 75 69 | 74 3b 0d 0a 76 61 72 20 |questQui|t;..var |
|000007f0| 66 6c 6f 61 74 09 09 09 | 09 51 75 69 74 54 69 6d |float...|.QuitTim|
|00000800| 65 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 09 09 09 |e;..var |bool....|
|00000810| 62 41 6c 6c 6f 77 43 6f | 6e 73 6f 6c 65 3b 0d 0a |bAllowCo|nsole;..|
|00000820| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 42 65 67 69 6e |..functi|on Begin|
|00000830| 50 6c 61 79 28 29 20 0d | 0a 7b 0d 0a 09 52 6f 6f |Play() .|.{...Roo|
|00000840| 74 20 3d 20 53 65 6c 66 | 3b 0d 0a 09 4d 6f 75 73 |t = Self|;...Mous|
|00000850| 65 57 69 6e 64 6f 77 20 | 3d 20 53 65 6c 66 3b 0d |eWindow |= Self;.|
|00000860| 0a 09 4b 65 79 46 6f 63 | 75 73 57 69 6e 64 6f 77 |..KeyFoc|usWindow|
|00000870| 20 3d 20 53 65 6c 66 3b | 0d 0a 7d 0d 0a 0d 0a 66 | = Self;|..}....f|
|00000880| 75 6e 63 74 69 6f 6e 20 | 55 57 69 6e 64 6f 77 4c |unction |UWindowL|
|00000890| 6f 6f 6b 41 6e 64 46 65 | 65 6c 20 47 65 74 4c 6f |ookAndFe|el GetLo|
|000008a0| 6f 6b 41 6e 64 46 65 65 | 6c 28 53 74 72 69 6e 67 |okAndFee|l(String|
|000008b0| 20 4c 46 43 6c 61 73 73 | 4e 61 6d 65 29 0d 0a 7b | LFClass|Name)..{|
|000008c0| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 69 3b 0d |...local| int i;.|
|000008d0| 0a 09 6c 6f 63 61 6c 20 | 63 6c 61 73 73 3c 55 57 |..local |class<UW|
|000008e0| 69 6e 64 6f 77 4c 6f 6f | 6b 41 6e 64 46 65 65 6c |indowLoo|kAndFeel|
|000008f0| 3e 20 4c 46 43 6c 61 73 | 73 3b 0d 0a 0d 0a 09 4c |> LFClas|s;.....L|
|00000900| 46 43 6c 61 73 73 20 3d | 20 63 6c 61 73 73 3c 55 |FClass =| class<U|
|00000910| 57 69 6e 64 6f 77 4c 6f | 6f 6b 41 6e 64 46 65 65 |WindowLo|okAndFee|
|00000920| 6c 3e 28 44 79 6e 61 6d | 69 63 4c 6f 61 64 4f 62 |l>(Dynam|icLoadOb|
|00000930| 6a 65 63 74 28 4c 46 43 | 6c 61 73 73 4e 61 6d 65 |ject(LFC|lassName|
|00000940| 2c 20 63 6c 61 73 73 27 | 43 6c 61 73 73 27 29 29 |, class'|Class'))|
|00000950| 3b 0d 0a 0d 0a 09 66 6f | 72 28 69 3d 30 3b 69 3c |;.....fo|r(i=0;i<|
|00000960| 32 30 3b 69 2b 2b 29 0d | 0a 09 7b 0d 0a 09 09 69 |20;i++).|..{....i|
|00000970| 66 28 4c 6f 6f 6b 73 41 | 6e 64 46 65 65 6c 73 5b |f(LooksA|ndFeels[|
|00000980| 69 5d 20 3d 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 7b |i] == No|ne)....{|
|00000990| 0d 0a 09 09 09 4c 6f 6f | 6b 73 41 6e 64 46 65 65 |.....Loo|ksAndFee|
|000009a0| 6c 73 5b 69 5d 20 3d 20 | 6e 65 77 20 4c 46 43 6c |ls[i] = |new LFCl|
|000009b0| 61 73 73 3b 0d 0a 09 09 | 09 4c 6f 6f 6b 73 41 6e |ass;....|.LooksAn|
|000009c0| 64 46 65 65 6c 73 5b 69 | 5d 2e 53 65 74 75 70 28 |dFeels[i|].Setup(|
|000009d0| 29 3b 0d 0a 09 09 09 72 | 65 74 75 72 6e 20 4c 6f |);.....r|eturn Lo|
|000009e0| 6f 6b 73 41 6e 64 46 65 | 65 6c 73 5b 69 5d 3b 0d |oksAndFe|els[i];.|
|000009f0| 0a 09 09 7d 0d 0a 0d 0a | 09 09 69 66 28 4c 6f 6f |...}....|..if(Loo|
|00000a00| 6b 73 41 6e 64 46 65 65 | 6c 73 5b 69 5d 2e 43 6c |ksAndFee|ls[i].Cl|
|00000a10| 61 73 73 20 3d 3d 20 4c | 46 43 6c 61 73 73 29 0d |ass == L|FClass).|
|00000a20| 0a 09 09 09 72 65 74 75 | 72 6e 20 4c 6f 6f 6b 73 |....retu|rn Looks|
|00000a30| 41 6e 64 46 65 65 6c 73 | 5b 69 5d 3b 0d 0a 09 7d |AndFeels|[i];...}|
|00000a40| 0d 0a 09 4c 6f 67 28 22 | 4f 75 74 20 6f 66 20 4c |...Log("|Out of L|
|00000a50| 6f 6f 6b 41 6e 64 46 65 | 65 6c 20 61 72 72 61 79 |ookAndFe|el array|
|00000a60| 20 73 70 61 63 65 21 21 | 22 29 3b 0d 0a 09 72 65 | space!!|");...re|
|00000a70| 74 75 72 6e 20 4e 6f 6e | 65 3b 0d 0a 7d 0d 0a 0d |turn Non|e;..}...|
|00000a80| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 43 72 65 61 |...funct|ion Crea|
|00000a90| 74 65 64 28 29 20 0d 0a | 7b 0d 0a 09 4c 6f 6f 6b |ted() ..|{...Look|
|00000aa0| 41 6e 64 46 65 65 6c 20 | 3d 20 47 65 74 4c 6f 6f |AndFeel |= GetLoo|
|00000ab0| 6b 41 6e 64 46 65 65 6c | 28 4c 6f 6f 6b 41 6e 64 |kAndFeel|(LookAnd|
|00000ac0| 46 65 65 6c 43 6c 61 73 | 73 29 3b 0d 0a 09 53 65 |FeelClas|s);...Se|
|00000ad0| 74 75 70 46 6f 6e 74 73 | 28 29 3b 0d 0a 0d 0a 09 |tupFonts|();.....|
|00000ae0| 4e 6f 72 6d 61 6c 43 75 | 72 73 6f 72 2e 74 65 78 |NormalCu|rsor.tex|
|00000af0| 20 3d 20 54 65 78 74 75 | 72 65 27 4d 6f 75 73 65 | = Textu|re'Mouse|
|00000b00| 43 75 72 73 6f 72 27 3b | 0d 0a 09 4e 6f 72 6d 61 |Cursor';|...Norma|
|00000b10| 6c 43 75 72 73 6f 72 2e | 48 6f 74 58 20 3d 20 30 |lCursor.|HotX = 0|
|00000b20| 3b 0d 0a 09 4e 6f 72 6d | 61 6c 43 75 72 73 6f 72 |;...Norm|alCursor|
|00000b30| 2e 48 6f 74 59 20 3d 20 | 30 3b 0d 0a 09 4e 6f 72 |.HotY = |0;...Nor|
|00000b40| 6d 61 6c 43 75 72 73 6f | 72 2e 57 69 6e 64 6f 77 |malCurso|r.Window|
|00000b50| 73 43 75 72 73 6f 72 20 | 3d 20 43 6f 6e 73 6f 6c |sCursor |= Consol|
|00000b60| 65 2e 56 69 65 77 70 6f | 72 74 2e 49 44 43 5f 41 |e.Viewpo|rt.IDC_A|
|00000b70| 52 52 4f 57 3b 0d 0a 0d | 0a 09 4d 6f 76 65 43 75 |RROW;...|..MoveCu|
|00000b80| 72 73 6f 72 2e 74 65 78 | 20 3d 20 54 65 78 74 75 |rsor.tex| = Textu|
|00000b90| 72 65 27 4d 6f 75 73 65 | 4d 6f 76 65 27 3b 0d 0a |re'Mouse|Move';..|
|00000ba0| 09 4d 6f 76 65 43 75 72 | 73 6f 72 2e 48 6f 74 58 |.MoveCur|sor.HotX|
|00000bb0| 20 3d 20 38 3b 0d 0a 09 | 4d 6f 76 65 43 75 72 73 | = 8;...|MoveCurs|
|00000bc0| 6f 72 2e 48 6f 74 59 20 | 3d 20 38 3b 0d 0a 09 4d |or.HotY |= 8;...M|
|00000bd0| 6f 76 65 43 75 72 73 6f | 72 2e 57 69 6e 64 6f 77 |oveCurso|r.Window|
|00000be0| 73 43 75 72 73 6f 72 20 | 3d 20 43 6f 6e 73 6f 6c |sCursor |= Consol|
|00000bf0| 65 2e 56 69 65 77 70 6f | 72 74 2e 49 44 43 5f 53 |e.Viewpo|rt.IDC_S|
|00000c00| 49 5a 45 41 4c 4c 3b 0d | 0a 09 0d 0a 09 44 69 61 |IZEALL;.|.....Dia|
|00000c10| 67 43 75 72 73 6f 72 31 | 2e 74 65 78 20 3d 20 54 |gCursor1|.tex = T|
|00000c20| 65 78 74 75 72 65 27 4d | 6f 75 73 65 44 69 61 67 |exture'M|ouseDiag|
|00000c30| 31 27 3b 0d 0a 09 44 69 | 61 67 43 75 72 73 6f 72 |1';...Di|agCursor|
|00000c40| 31 2e 48 6f 74 58 20 3d | 20 38 3b 0d 0a 09 44 69 |1.HotX =| 8;...Di|
|00000c50| 61 67 43 75 72 73 6f 72 | 31 2e 48 6f 74 59 20 3d |agCursor|1.HotY =|
|00000c60| 20 38 3b 0d 0a 09 44 69 | 61 67 43 75 72 73 6f 72 | 8;...Di|agCursor|
|00000c70| 31 2e 57 69 6e 64 6f 77 | 73 43 75 72 73 6f 72 20 |1.Window|sCursor |
|00000c80| 3d 20 43 6f 6e 73 6f 6c | 65 2e 56 69 65 77 70 6f |= Consol|e.Viewpo|
|00000c90| 72 74 2e 49 44 43 5f 53 | 49 5a 45 4e 57 53 45 3b |rt.IDC_S|IZENWSE;|
|00000ca0| 0d 0a 09 0d 0a 09 48 61 | 6e 64 43 75 72 73 6f 72 |......Ha|ndCursor|
|00000cb0| 2e 74 65 78 20 3d 20 54 | 65 78 74 75 72 65 27 4d |.tex = T|exture'M|
|00000cc0| 6f 75 73 65 48 61 6e 64 | 27 3b 0d 0a 09 48 61 6e |ouseHand|';...Han|
|00000cd0| 64 43 75 72 73 6f 72 2e | 48 6f 74 58 20 3d 20 31 |dCursor.|HotX = 1|
|00000ce0| 31 3b 0d 0a 09 48 61 6e | 64 43 75 72 73 6f 72 2e |1;...Han|dCursor.|
|00000cf0| 48 6f 74 59 20 3d 20 31 | 3b 0d 0a 09 48 61 6e 64 |HotY = 1|;...Hand|
|00000d00| 43 75 72 73 6f 72 2e 57 | 69 6e 64 6f 77 73 43 75 |Cursor.W|indowsCu|
|00000d10| 72 73 6f 72 20 3d 20 43 | 6f 6e 73 6f 6c 65 2e 56 |rsor = C|onsole.V|
|00000d20| 69 65 77 70 6f 72 74 2e | 49 44 43 5f 41 52 52 4f |iewport.|IDC_ARRO|
|00000d30| 57 3b 0d 0a 0d 0a 09 48 | 53 70 6c 69 74 43 75 72 |W;.....H|SplitCur|
|00000d40| 73 6f 72 2e 74 65 78 20 | 3d 20 54 65 78 74 75 72 |sor.tex |= Textur|
|00000d50| 65 27 4d 6f 75 73 65 48 | 53 70 6c 69 74 27 3b 0d |e'MouseH|Split';.|
|00000d60| 0a 09 48 53 70 6c 69 74 | 43 75 72 73 6f 72 2e 48 |..HSplit|Cursor.H|
|00000d70| 6f 74 58 20 3d 20 39 3b | 0d 0a 09 48 53 70 6c 69 |otX = 9;|...HSpli|
|00000d80| 74 43 75 72 73 6f 72 2e | 48 6f 74 59 20 3d 20 39 |tCursor.|HotY = 9|
|00000d90| 3b 0d 0a 09 48 53 70 6c | 69 74 43 75 72 73 6f 72 |;...HSpl|itCursor|
|00000da0| 2e 57 69 6e 64 6f 77 73 | 43 75 72 73 6f 72 20 3d |.Windows|Cursor =|
|00000db0| 20 43 6f 6e 73 6f 6c 65 | 2e 56 69 65 77 70 6f 72 | Console|.Viewpor|
|00000dc0| 74 2e 49 44 43 5f 53 49 | 5a 45 57 45 3b 0d 0a 0d |t.IDC_SI|ZEWE;...|
|00000dd0| 0a 09 56 53 70 6c 69 74 | 43 75 72 73 6f 72 2e 74 |..VSplit|Cursor.t|
|00000de0| 65 78 20 3d 20 54 65 78 | 74 75 72 65 27 4d 6f 75 |ex = Tex|ture'Mou|
|00000df0| 73 65 56 53 70 6c 69 74 | 27 3b 0d 0a 09 56 53 70 |seVSplit|';...VSp|
|00000e00| 6c 69 74 43 75 72 73 6f | 72 2e 48 6f 74 58 20 3d |litCurso|r.HotX =|
|00000e10| 20 39 3b 0d 0a 09 56 53 | 70 6c 69 74 43 75 72 73 | 9;...VS|plitCurs|
|00000e20| 6f 72 2e 48 6f 74 59 20 | 3d 20 39 3b 0d 0a 09 56 |or.HotY |= 9;...V|
|00000e30| 53 70 6c 69 74 43 75 72 | 73 6f 72 2e 57 69 6e 64 |SplitCur|sor.Wind|
|00000e40| 6f 77 73 43 75 72 73 6f | 72 20 3d 20 43 6f 6e 73 |owsCurso|r = Cons|
|00000e50| 6f 6c 65 2e 56 69 65 77 | 70 6f 72 74 2e 49 44 43 |ole.View|port.IDC|
|00000e60| 5f 53 49 5a 45 4e 53 3b | 0d 0a 0d 0a 09 44 69 61 |_SIZENS;|.....Dia|
|00000e70| 67 43 75 72 73 6f 72 32 | 2e 74 65 78 20 3d 20 54 |gCursor2|.tex = T|
|00000e80| 65 78 74 75 72 65 27 4d | 6f 75 73 65 44 69 61 67 |exture'M|ouseDiag|
|00000e90| 32 27 3b 0d 0a 09 44 69 | 61 67 43 75 72 73 6f 72 |2';...Di|agCursor|
|00000ea0| 32 2e 48 6f 74 58 20 3d | 20 37 3b 0d 0a 09 44 69 |2.HotX =| 7;...Di|
|00000eb0| 61 67 43 75 72 73 6f 72 | 32 2e 48 6f 74 59 20 3d |agCursor|2.HotY =|
|00000ec0| 20 37 3b 0d 0a 09 44 69 | 61 67 43 75 72 73 6f 72 | 7;...Di|agCursor|
|00000ed0| 32 2e 57 69 6e 64 6f 77 | 73 43 75 72 73 6f 72 20 |2.Window|sCursor |
|00000ee0| 3d 20 43 6f 6e 73 6f 6c | 65 2e 56 69 65 77 70 6f |= Consol|e.Viewpo|
|00000ef0| 72 74 2e 49 44 43 5f 53 | 49 5a 45 4e 45 53 57 3b |rt.IDC_S|IZENESW;|
|00000f00| 0d 0a 0d 0a 09 4e 53 43 | 75 72 73 6f 72 2e 74 65 |.....NSC|ursor.te|
|00000f10| 78 20 3d 20 54 65 78 74 | 75 72 65 27 4d 6f 75 73 |x = Text|ure'Mous|
|00000f20| 65 4e 53 27 3b 0d 0a 09 | 4e 53 43 75 72 73 6f 72 |eNS';...|NSCursor|
|00000f30| 2e 48 6f 74 58 20 3d 20 | 33 3b 0d 0a 09 4e 53 43 |.HotX = |3;...NSC|
|00000f40| 75 72 73 6f 72 2e 48 6f | 74 59 20 3d 20 37 3b 0d |ursor.Ho|tY = 7;.|
|00000f50| 0a 09 4e 53 43 75 72 73 | 6f 72 2e 57 69 6e 64 6f |..NSCurs|or.Windo|
|00000f60| 77 73 43 75 72 73 6f 72 | 20 3d 20 43 6f 6e 73 6f |wsCursor| = Conso|
|00000f70| 6c 65 2e 56 69 65 77 70 | 6f 72 74 2e 49 44 43 5f |le.Viewp|ort.IDC_|
|00000f80| 53 49 5a 45 4e 53 3b 0d | 0a 0d 0a 09 57 45 43 75 |SIZENS;.|....WECu|
|00000f90| 72 73 6f 72 2e 74 65 78 | 20 3d 20 54 65 78 74 75 |rsor.tex| = Textu|
|00000fa0| 72 65 27 4d 6f 75 73 65 | 57 45 27 3b 0d 0a 09 57 |re'Mouse|WE';...W|
|00000fb0| 45 43 75 72 73 6f 72 2e | 48 6f 74 58 20 3d 20 37 |ECursor.|HotX = 7|
|00000fc0| 3b 0d 0a 09 57 45 43 75 | 72 73 6f 72 2e 48 6f 74 |;...WECu|rsor.Hot|
|00000fd0| 59 20 3d 20 33 3b 0d 0a | 09 57 45 43 75 72 73 6f |Y = 3;..|.WECurso|
|00000fe0| 72 2e 57 69 6e 64 6f 77 | 73 43 75 72 73 6f 72 20 |r.Window|sCursor |
|00000ff0| 3d 20 43 6f 6e 73 6f 6c | 65 2e 56 69 65 77 70 6f |= Consol|e.Viewpo|
|00001000| 72 74 2e 49 44 43 5f 53 | 49 5a 45 57 45 3b 0d 0a |rt.IDC_S|IZEWE;..|
|00001010| 0d 0a 09 57 61 69 74 43 | 75 72 73 6f 72 2e 74 65 |...WaitC|ursor.te|
|00001020| 78 20 3d 20 54 65 78 74 | 75 72 65 27 4d 6f 75 73 |x = Text|ure'Mous|
|00001030| 65 57 61 69 74 27 3b 0d | 0a 09 57 45 43 75 72 73 |eWait';.|..WECurs|
|00001040| 6f 72 2e 48 6f 74 58 20 | 3d 20 36 3b 0d 0a 09 57 |or.HotX |= 6;...W|
|00001050| 45 43 75 72 73 6f 72 2e | 48 6f 74 59 20 3d 20 39 |ECursor.|HotY = 9|
|00001060| 3b 0d 0a 09 57 45 43 75 | 72 73 6f 72 2e 57 69 6e |;...WECu|rsor.Win|
|00001070| 64 6f 77 73 43 75 72 73 | 6f 72 20 3d 20 43 6f 6e |dowsCurs|or = Con|
|00001080| 73 6f 6c 65 2e 56 69 65 | 77 70 6f 72 74 2e 49 44 |sole.Vie|wport.ID|
|00001090| 43 5f 57 41 49 54 3b 0d | 0a 0d 0a 0d 0a 09 48 6f |C_WAIT;.|......Ho|
|000010a0| 74 6b 65 79 57 69 6e 64 | 6f 77 73 20 3d 20 4e 65 |tkeyWind|ows = Ne|
|000010b0| 77 20 63 6c 61 73 73 27 | 55 57 69 6e 64 6f 77 48 |w class'|UWindowH|
|000010c0| 6f 74 6b 65 79 57 69 6e | 64 6f 77 4c 69 73 74 27 |otkeyWin|dowList'|
|000010d0| 3b 0d 0a 09 48 6f 74 6b | 65 79 57 69 6e 64 6f 77 |;...Hotk|eyWindow|
|000010e0| 73 2e 4c 61 73 74 20 3d | 20 48 6f 74 6b 65 79 57 |s.Last =| HotkeyW|
|000010f0| 69 6e 64 6f 77 73 3b 0d | 0a 09 48 6f 74 6b 65 79 |indows;.|..Hotkey|
|00001100| 57 69 6e 64 6f 77 73 2e | 4e 65 78 74 20 3d 20 4e |Windows.|Next = N|
|00001110| 6f 6e 65 3b 0d 0a 09 48 | 6f 74 6b 65 79 57 69 6e |one;...H|otkeyWin|
|00001120| 64 6f 77 73 2e 53 65 6e | 74 69 6e 65 6c 20 3d 20 |dows.Sen|tinel = |
|00001130| 48 6f 74 6b 65 79 57 69 | 6e 64 6f 77 73 3b 0d 0a |HotkeyWi|ndows;..|
|00001140| 0d 0a 09 43 75 72 73 6f | 72 20 3d 20 4e 6f 72 6d |...Curso|r = Norm|
|00001150| 61 6c 43 75 72 73 6f 72 | 3b 0d 0a 7d 0d 0a 0d 0a |alCursor|;..}....|
|00001160| 66 75 6e 63 74 69 6f 6e | 20 4d 6f 76 65 4d 6f 75 |function| MoveMou|
|00001170| 73 65 28 66 6c 6f 61 74 | 20 58 2c 20 66 6c 6f 61 |se(float| X, floa|
|00001180| 74 20 59 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |t Y)..{.|..local |
|00001190| 55 57 69 6e 64 6f 77 57 | 69 6e 64 6f 77 20 4e 65 |UWindowW|indow Ne|
|000011a0| 77 4d 6f 75 73 65 57 69 | 6e 64 6f 77 3b 0d 0a 09 |wMouseWi|ndow;...|
|000011b0| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 74 78 2c 20 |local fl|oat tx, |
|000011c0| 74 79 3b 0d 0a 0d 0a 09 | 4d 6f 75 73 65 58 20 3d |ty;.....|MouseX =|
|000011d0| 20 58 3b 0d 0a 09 4d 6f | 75 73 65 59 20 3d 20 59 | X;...Mo|useY = Y|
|000011e0| 3b 0d 0a 0d 0a 09 69 66 | 28 21 62 4d 6f 75 73 65 |;.....if|(!bMouse|
|000011f0| 43 61 70 74 75 72 65 29 | 0d 0a 09 09 4e 65 77 4d |Capture)|....NewM|
|00001200| 6f 75 73 65 57 69 6e 64 | 6f 77 20 3d 20 46 69 6e |ouseWind|ow = Fin|
|00001210| 64 57 69 6e 64 6f 77 55 | 6e 64 65 72 28 58 2c 20 |dWindowU|nder(X, |
|00001220| 59 29 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 4e 65 |Y);...el|se....Ne|
|00001230| 77 4d 6f 75 73 65 57 69 | 6e 64 6f 77 20 3d 20 4d |wMouseWi|ndow = M|
|00001240| 6f 75 73 65 57 69 6e 64 | 6f 77 3b 0d 0a 0d 0a 09 |ouseWind|ow;.....|
|00001250| 69 66 28 4e 65 77 4d 6f | 75 73 65 57 69 6e 64 6f |if(NewMo|useWindo|
|00001260| 77 20 21 3d 20 4d 6f 75 | 73 65 57 69 6e 64 6f 77 |w != Mou|seWindow|
|00001270| 29 0d 0a 09 7b 0d 0a 09 | 09 4d 6f 75 73 65 57 69 |)...{...|.MouseWi|
|00001280| 6e 64 6f 77 2e 4d 6f 75 | 73 65 4c 65 61 76 65 28 |ndow.Mou|seLeave(|
|00001290| 29 3b 0d 0a 09 09 4e 65 | 77 4d 6f 75 73 65 57 69 |);....Ne|wMouseWi|
|000012a0| 6e 64 6f 77 2e 4d 6f 75 | 73 65 45 6e 74 65 72 28 |ndow.Mou|seEnter(|
|000012b0| 29 3b 0d 0a 09 09 4d 6f | 75 73 65 57 69 6e 64 6f |);....Mo|useWindo|
|000012c0| 77 20 3d 20 4e 65 77 4d | 6f 75 73 65 57 69 6e 64 |w = NewM|ouseWind|
|000012d0| 6f 77 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 28 4d |ow;...}.|....if(M|
|000012e0| 6f 75 73 65 58 20 21 3d | 20 4f 6c 64 4d 6f 75 73 |ouseX !=| OldMous|
|000012f0| 65 58 20 7c 7c 20 4d 6f | 75 73 65 59 20 21 3d 20 |eX || Mo|useY != |
|00001300| 4f 6c 64 4d 6f 75 73 65 | 59 29 0d 0a 09 7b 0d 0a |OldMouse|Y)...{..|
|00001310| 09 09 4f 6c 64 4d 6f 75 | 73 65 58 20 3d 20 4d 6f |..OldMou|seX = Mo|
|00001320| 75 73 65 58 3b 0d 0a 09 | 09 4f 6c 64 4d 6f 75 73 |useX;...|.OldMous|
|00001330| 65 59 20 3d 20 4d 6f 75 | 73 65 59 3b 0d 0a 0d 0a |eY = Mou|seY;....|
|00001340| 09 09 4d 6f 75 73 65 57 | 69 6e 64 6f 77 2e 47 65 |..MouseW|indow.Ge|
|00001350| 74 4d 6f 75 73 65 58 59 | 28 74 78 2c 20 74 79 29 |tMouseXY|(tx, ty)|
|00001360| 3b 0d 0a 09 09 4d 6f 75 | 73 65 57 69 6e 64 6f 77 |;....Mou|seWindow|
|00001370| 2e 4d 6f 75 73 65 4d 6f | 76 65 28 74 78 2c 20 74 |.MouseMo|ve(tx, t|
|00001380| 79 29 3b 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 66 75 |y);...}.|.}....fu|
|00001390| 6e 63 74 69 6f 6e 20 44 | 72 61 77 4d 6f 75 73 65 |nction D|rawMouse|
|000013a0| 28 43 61 6e 76 61 73 20 | 43 29 20 0d 0a 7b 0d 0a |(Canvas |C) ..{..|
|000013b0| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 58 2c 20 |.local f|loat X, |
|000013c0| 59 3b 0d 0a 0d 0a 09 69 | 66 28 43 6f 6e 73 6f 6c |Y;.....i|f(Consol|
|000013d0| 65 2e 56 69 65 77 70 6f | 72 74 2e 62 57 69 6e 64 |e.Viewpo|rt.bWind|
|000013e0| 6f 77 73 4d 6f 75 73 65 | 41 76 61 69 6c 61 62 6c |owsMouse|Availabl|
|000013f0| 65 29 0d 0a 09 7b 0d 0a | 09 09 2f 2f 20 53 65 74 |e)...{..|..// Set|
|00001400| 20 74 68 65 20 77 69 6e | 64 6f 77 73 20 63 75 72 | the win|dows cur|
|00001410| 73 6f 72 2e 2e 2e 0d 0a | 09 09 43 6f 6e 73 6f 6c |sor.....|..Consol|
|00001420| 65 2e 56 69 65 77 70 6f | 72 74 2e 53 65 6c 65 63 |e.Viewpo|rt.Selec|
|00001430| 74 65 64 43 75 72 73 6f | 72 20 3d 20 4d 6f 75 73 |tedCurso|r = Mous|
|00001440| 65 57 69 6e 64 6f 77 2e | 43 75 72 73 6f 72 2e 57 |eWindow.|Cursor.W|
|00001450| 69 6e 64 6f 77 73 43 75 | 72 73 6f 72 3b 0d 0a 09 |indowsCu|rsor;...|
|00001460| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 7b 0d 0a 09 09 |}...else|...{....|
|00001470| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 52 20 3d 20 |C.DrawCo|lor.R = |
|00001480| 32 35 35 3b 0d 0a 09 09 | 43 2e 44 72 61 77 43 6f |255;....|C.DrawCo|
|00001490| 6c 6f 72 2e 47 20 3d 20 | 32 35 35 3b 0d 0a 09 09 |lor.G = |255;....|
|000014a0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 42 20 3d 20 |C.DrawCo|lor.B = |
|000014b0| 32 35 35 3b 0d 0a 09 09 | 43 2e 62 4e 6f 53 6d 6f |255;....|C.bNoSmo|
|000014c0| 6f 74 68 20 3d 20 54 72 | 75 65 3b 0d 0a 0d 0a 09 |oth = Tr|ue;.....|
|000014d0| 09 43 2e 53 65 74 50 6f | 73 28 4d 6f 75 73 65 58 |.C.SetPo|s(MouseX|
|000014e0| 20 2a 20 47 55 49 53 63 | 61 6c 65 20 2d 20 4d 6f | * GUISc|ale - Mo|
|000014f0| 75 73 65 57 69 6e 64 6f | 77 2e 43 75 72 73 6f 72 |useWindo|w.Cursor|
|00001500| 2e 48 6f 74 58 2c 20 4d | 6f 75 73 65 59 20 2a 20 |.HotX, M|ouseY * |
|00001510| 47 55 49 53 63 61 6c 65 | 20 2d 20 4d 6f 75 73 65 |GUIScale| - Mouse|
|00001520| 57 69 6e 64 6f 77 2e 43 | 75 72 73 6f 72 2e 48 6f |Window.C|ursor.Ho|
|00001530| 74 59 29 3b 0d 0a 09 09 | 43 2e 44 72 61 77 49 63 |tY);....|C.DrawIc|
|00001540| 6f 6e 28 4d 6f 75 73 65 | 57 69 6e 64 6f 77 2e 43 |on(Mouse|Window.C|
|00001550| 75 72 73 6f 72 2e 74 65 | 78 2c 20 31 2e 30 29 3b |ursor.te|x, 1.0);|
|00001560| 0d 0a 09 7d 0d 0a 0d 0a | 0d 0a 0d 0a 09 2f 2a 20 |...}....|...../* |
|00001570| 44 45 42 55 47 20 2d 20 | 73 68 6f 77 20 77 68 69 |DEBUG - |show whi|
|00001580| 63 68 20 77 69 6e 64 6f | 77 20 6d 6f 75 73 65 20 |ch windo|w mouse |
|00001590| 69 73 20 6f 76 65 72 0d | 0a 0d 0a 09 4d 6f 75 73 |is over.|....Mous|
|000015a0| 65 57 69 6e 64 6f 77 2e | 47 65 74 4d 6f 75 73 65 |eWindow.|GetMouse|
|000015b0| 58 59 28 58 2c 20 59 29 | 3b 0d 0a 09 43 2e 46 6f |XY(X, Y)|;...C.Fo|
|000015c0| 6e 74 20 3d 20 46 6f 6e | 74 73 5b 46 5f 4e 6f 72 |nt = Fon|ts[F_Nor|
|000015d0| 6d 61 6c 5d 3b 0d 0a 0d | 0a 09 43 2e 44 72 61 77 |mal];...|..C.Draw|
|000015e0| 43 6f 6c 6f 72 2e 52 20 | 3d 20 30 3b 0d 0a 09 43 |Color.R |= 0;...C|
|000015f0| 2e 44 72 61 77 43 6f 6c | 6f 72 2e 47 20 3d 20 30 |.DrawCol|or.G = 0|
|00001600| 3b 0d 0a 09 43 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |;...C.Dr|awColor.|
|00001610| 42 20 3d 20 30 3b 0d 0a | 09 43 2e 53 65 74 50 6f |B = 0;..|.C.SetPo|
|00001620| 73 28 4d 6f 75 73 65 58 | 20 2a 20 47 55 49 53 63 |s(MouseX| * GUISc|
|00001630| 61 6c 65 20 2d 20 4d 6f | 75 73 65 57 69 6e 64 6f |ale - Mo|useWindo|
|00001640| 77 2e 43 75 72 73 6f 72 | 2e 48 6f 74 58 2c 20 4d |w.Cursor|.HotX, M|
|00001650| 6f 75 73 65 59 20 2a 20 | 47 55 49 53 63 61 6c 65 |ouseY * |GUIScale|
|00001660| 20 2d 20 4d 6f 75 73 65 | 57 69 6e 64 6f 77 2e 43 | - Mouse|Window.C|
|00001670| 75 72 73 6f 72 2e 48 6f | 74 59 29 3b 0d 0a 09 43 |ursor.Ho|tY);...C|
|00001680| 2e 44 72 61 77 54 65 78 | 74 28 20 47 65 74 50 6c |.DrawTex|t( GetPl|
|00001690| 61 79 65 72 4f 77 6e 65 | 72 28 29 2e 47 65 74 49 |ayerOwne|r().GetI|
|000016a0| 74 65 6d 4e 61 6d 65 28 | 73 74 72 69 6e 67 28 4d |temName(|string(M|
|000016b0| 6f 75 73 65 57 69 6e 64 | 6f 77 29 29 24 22 20 22 |ouseWind|ow))$" "|
|000016c0| 24 69 6e 74 28 4d 6f 75 | 73 65 58 20 2a 20 47 55 |$int(Mou|seX * GU|
|000016d0| 49 53 63 61 6c 65 29 24 | 22 2c 20 22 24 69 6e 74 |IScale)$|", "$int|
|000016e0| 28 4d 6f 75 73 65 59 20 | 2a 20 47 55 49 53 63 61 |(MouseY |* GUISca|
|000016f0| 6c 65 29 24 22 20 28 22 | 24 69 6e 74 28 58 29 24 |le)$" ("|$int(X)$|
|00001700| 22 2c 20 22 24 69 6e 74 | 28 59 29 24 22 29 22 29 |", "$int|(Y)$")")|
|00001710| 3b 0d 0a 0d 0a 09 43 2e | 44 72 61 77 43 6f 6c 6f |;.....C.|DrawColo|
|00001720| 72 2e 52 20 3d 20 32 35 | 35 3b 0d 0a 09 43 2e 44 |r.R = 25|5;...C.D|
|00001730| 72 61 77 43 6f 6c 6f 72 | 2e 47 20 3d 20 32 35 35 |rawColor|.G = 255|
|00001740| 3b 0d 0a 09 43 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |;...C.Dr|awColor.|
|00001750| 42 20 3d 20 30 3b 0d 0a | 09 43 2e 53 65 74 50 6f |B = 0;..|.C.SetPo|
|00001760| 73 28 2d 31 20 2b 20 4d | 6f 75 73 65 58 20 2a 20 |s(-1 + M|ouseX * |
|00001770| 47 55 49 53 63 61 6c 65 | 20 2d 20 4d 6f 75 73 65 |GUIScale| - Mouse|
|00001780| 57 69 6e 64 6f 77 2e 43 | 75 72 73 6f 72 2e 48 6f |Window.C|ursor.Ho|
|00001790| 74 58 2c 20 2d 31 20 2b | 20 4d 6f 75 73 65 59 20 |tX, -1 +| MouseY |
|000017a0| 2a 20 47 55 49 53 63 61 | 6c 65 20 2d 20 4d 6f 75 |* GUISca|le - Mou|
|000017b0| 73 65 57 69 6e 64 6f 77 | 2e 43 75 72 73 6f 72 2e |seWindow|.Cursor.|
|000017c0| 48 6f 74 59 29 3b 0d 0a | 09 43 2e 44 72 61 77 54 |HotY);..|.C.DrawT|
|000017d0| 65 78 74 28 20 47 65 74 | 50 6c 61 79 65 72 4f 77 |ext( Get|PlayerOw|
|000017e0| 6e 65 72 28 29 2e 47 65 | 74 49 74 65 6d 4e 61 6d |ner().Ge|tItemNam|
|000017f0| 65 28 73 74 72 69 6e 67 | 28 4d 6f 75 73 65 57 69 |e(string|(MouseWi|
|00001800| 6e 64 6f 77 29 29 24 22 | 20 22 24 69 6e 74 28 4d |ndow))$"| "$int(M|
|00001810| 6f 75 73 65 58 20 2a 20 | 47 55 49 53 63 61 6c 65 |ouseX * |GUIScale|
|00001820| 29 24 22 2c 20 22 24 69 | 6e 74 28 4d 6f 75 73 65 |)$", "$i|nt(Mouse|
|00001830| 59 20 2a 20 47 55 49 53 | 63 61 6c 65 29 24 22 20 |Y * GUIS|cale)$" |
|00001840| 28 22 24 69 6e 74 28 58 | 29 24 22 2c 20 22 24 69 |("$int(X|)$", "$i|
|00001850| 6e 74 28 59 29 24 22 29 | 22 29 3b 0d 0a 0d 0a 09 |nt(Y)$")|");.....|
|00001860| 2a 2f 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |*/..}...|.functio|
|00001870| 6e 20 62 6f 6f 6c 20 43 | 68 65 63 6b 43 61 70 74 |n bool C|heckCapt|
|00001880| 75 72 65 4d 6f 75 73 65 | 55 70 28 29 0d 0a 7b 0d |ureMouse|Up()..{.|
|00001890| 0a 09 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 58 2c |..local |float X,|
|000018a0| 20 59 3b 0d 0a 0d 0a 09 | 69 66 28 62 4d 6f 75 73 | Y;.....|if(bMous|
|000018b0| 65 43 61 70 74 75 72 65 | 29 20 7b 0d 0a 09 09 4d |eCapture|) {....M|
|000018c0| 6f 75 73 65 57 69 6e 64 | 6f 77 2e 47 65 74 4d 6f |ouseWind|ow.GetMo|
|000018d0| 75 73 65 58 59 28 58 2c | 20 59 29 3b 0d 0a 09 09 |useXY(X,| Y);....|
|000018e0| 4d 6f 75 73 65 57 69 6e | 64 6f 77 2e 4c 4d 6f 75 |MouseWin|dow.LMou|
|000018f0| 73 65 55 70 28 58 2c 20 | 59 29 3b 0d 0a 09 09 62 |seUp(X, |Y);....b|
|00001900| 4d 6f 75 73 65 43 61 70 | 74 75 72 65 20 3d 20 46 |MouseCap|ture = F|
|00001910| 61 6c 73 65 3b 0d 0a 09 | 09 72 65 74 75 72 6e 20 |alse;...|.return |
|00001920| 54 72 75 65 3b 0d 0a 09 | 7d 0d 0a 09 72 65 74 75 |True;...|}...retu|
|00001930| 72 6e 20 46 61 6c 73 65 | 3b 0d 0a 7d 0d 0a 0d 0a |rn False|;..}....|
|00001940| 66 75 6e 63 74 69 6f 6e | 20 62 6f 6f 6c 20 43 68 |function| bool Ch|
|00001950| 65 63 6b 43 61 70 74 75 | 72 65 4d 6f 75 73 65 44 |eckCaptu|reMouseD|
|00001960| 6f 77 6e 28 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |own()..{|...local|
|00001970| 20 66 6c 6f 61 74 20 58 | 2c 20 59 3b 0d 0a 0d 0a | float X|, Y;....|
|00001980| 09 69 66 28 62 4d 6f 75 | 73 65 43 61 70 74 75 72 |.if(bMou|seCaptur|
|00001990| 65 29 20 7b 0d 0a 09 09 | 4d 6f 75 73 65 57 69 6e |e) {....|MouseWin|
|000019a0| 64 6f 77 2e 47 65 74 4d | 6f 75 73 65 58 59 28 58 |dow.GetM|ouseXY(X|
|000019b0| 2c 20 59 29 3b 0d 0a 09 | 09 4d 6f 75 73 65 57 69 |, Y);...|.MouseWi|
|000019c0| 6e 64 6f 77 2e 4c 4d 6f | 75 73 65 44 6f 77 6e 28 |ndow.LMo|useDown(|
|000019d0| 58 2c 20 59 29 3b 0d 0a | 09 09 62 4d 6f 75 73 65 |X, Y);..|..bMouse|
|000019e0| 43 61 70 74 75 72 65 20 | 3d 20 46 61 6c 73 65 3b |Capture |= False;|
|000019f0| 0d 0a 09 09 72 65 74 75 | 72 6e 20 54 72 75 65 3b |....retu|rn True;|
|00001a00| 0d 0a 09 7d 0d 0a 09 72 | 65 74 75 72 6e 20 46 61 |...}...r|eturn Fa|
|00001a10| 6c 73 65 3b 0d 0a 7d 0d | 0a 0d 0a 0d 0a 66 75 6e |lse;..}.|.....fun|
|00001a20| 63 74 69 6f 6e 20 43 61 | 6e 63 65 6c 43 61 70 74 |ction Ca|ncelCapt|
|00001a30| 75 72 65 28 29 0d 0a 7b | 0d 0a 09 62 4d 6f 75 73 |ure()..{|...bMous|
|00001a40| 65 43 61 70 74 75 72 65 | 20 3d 20 46 61 6c 73 65 |eCapture| = False|
|00001a50| 3b 0d 0a 7d 0d 0a 0d 0a | 0d 0a 66 75 6e 63 74 69 |;..}....|..functi|
|00001a60| 6f 6e 20 43 61 70 74 75 | 72 65 4d 6f 75 73 65 28 |on Captu|reMouse(|
|00001a70| 6f 70 74 69 6f 6e 61 6c | 20 55 57 69 6e 64 6f 77 |optional| UWindow|
|00001a80| 57 69 6e 64 6f 77 20 57 | 29 0d 0a 7b 0d 0a 09 62 |Window W|)..{...b|
|00001a90| 4d 6f 75 73 65 43 61 70 | 74 75 72 65 20 3d 20 54 |MouseCap|ture = T|
|00001aa0| 72 75 65 3b 0d 0a 09 69 | 66 28 57 20 21 3d 20 4e |rue;...i|f(W != N|
|00001ab0| 6f 6e 65 29 0d 0a 09 09 | 4d 6f 75 73 65 57 69 6e |one)....|MouseWin|
|00001ac0| 64 6f 77 20 3d 20 57 3b | 0d 0a 09 2f 2f 4c 6f 67 |dow = W;|...//Log|
|00001ad0| 28 4d 6f 75 73 65 57 69 | 6e 64 6f 77 2e 43 6c 61 |(MouseWi|ndow.Cla|
|00001ae0| 73 73 24 22 3a 20 43 61 | 70 74 75 72 65 64 20 4d |ss$": Ca|ptured M|
|00001af0| 6f 75 73 65 22 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |ouse");.|.}....fu|
|00001b00| 6e 63 74 69 6f 6e 20 54 | 65 78 74 75 72 65 20 47 |nction T|exture G|
|00001b10| 65 74 4c 6f 6f 6b 41 6e | 64 46 65 65 6c 54 65 78 |etLookAn|dFeelTex|
|00001b20| 74 75 72 65 28 29 0d 0a | 7b 0d 0a 09 52 65 74 75 |ture()..|{...Retu|
|00001b30| 72 6e 20 4c 6f 6f 6b 41 | 6e 64 46 65 65 6c 2e 41 |rn LookA|ndFeel.A|
|00001b40| 63 74 69 76 65 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |ctive;..|}....fun|
|00001b50| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 49 73 41 63 74 |ction bo|ol IsAct|
|00001b60| 69 76 65 28 29 0d 0a 7b | 0d 0a 09 52 65 74 75 72 |ive()..{|...Retur|
|00001b70| 6e 20 54 72 75 65 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |n True;.|.}....fu|
|00001b80| 6e 63 74 69 6f 6e 20 41 | 64 64 48 6f 74 6b 65 79 |nction A|ddHotkey|
|00001b90| 57 69 6e 64 6f 77 28 55 | 57 69 6e 64 6f 77 57 69 |Window(U|WindowWi|
|00001ba0| 6e 64 6f 77 20 57 29 0d | 0a 7b 0d 0a 2f 2f 09 4c |ndow W).|.{..//.L|
|00001bb0| 6f 67 28 22 41 64 64 69 | 6e 67 20 68 6f 74 6b 65 |og("Addi|ng hotke|
|00001bc0| 79 73 20 66 6f 72 20 22 | 24 57 29 3b 0d 0a 09 55 |ys for "|$W);...U|
|00001bd0| 57 69 6e 64 6f 77 48 6f | 74 6b 65 79 57 69 6e 64 |WindowHo|tkeyWind|
|00001be0| 6f 77 4c 69 73 74 28 48 | 6f 74 6b 65 79 57 69 6e |owList(H|otkeyWin|
|00001bf0| 64 6f 77 73 2e 49 6e 73 | 65 72 74 28 63 6c 61 73 |dows.Ins|ert(clas|
|00001c00| 73 27 55 57 69 6e 64 6f | 77 48 6f 74 6b 65 79 57 |s'UWindo|wHotkeyW|
|00001c10| 69 6e 64 6f 77 4c 69 73 | 74 27 29 29 2e 57 69 6e |indowLis|t')).Win|
|00001c20| 64 6f 77 20 3d 20 57 3b | 0d 0a 7d 0d 0a 0d 0a 66 |dow = W;|..}....f|
|00001c30| 75 6e 63 74 69 6f 6e 20 | 52 65 6d 6f 76 65 48 6f |unction |RemoveHo|
|00001c40| 74 6b 65 79 57 69 6e 64 | 6f 77 28 55 57 69 6e 64 |tkeyWind|ow(UWind|
|00001c50| 6f 77 57 69 6e 64 6f 77 | 20 57 29 0d 0a 7b 0d 0a |owWindow| W)..{..|
|00001c60| 09 6c 6f 63 61 6c 20 55 | 57 69 6e 64 6f 77 48 6f |.local U|WindowHo|
|00001c70| 74 6b 65 79 57 69 6e 64 | 6f 77 4c 69 73 74 20 4c |tkeyWind|owList L|
|00001c80| 3b 0d 0a 0d 0a 2f 2f 09 | 4c 6f 67 28 22 52 65 6d |;....//.|Log("Rem|
|00001c90| 6f 76 69 6e 67 20 68 6f | 74 6b 65 79 73 20 66 6f |oving ho|tkeys fo|
|00001ca0| 72 20 22 24 57 29 3b 0d | 0a 0d 0a 09 4c 20 3d 20 |r "$W);.|....L = |
|00001cb0| 48 6f 74 6b 65 79 57 69 | 6e 64 6f 77 73 2e 46 69 |HotkeyWi|ndows.Fi|
|00001cc0| 6e 64 57 69 6e 64 6f 77 | 28 57 29 3b 0d 0a 09 69 |ndWindow|(W);...i|
|00001cd0| 66 28 4c 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |f(L != N|one)....|
|00001ce0| 4c 2e 52 65 6d 6f 76 65 | 28 29 3b 0d 0a 7d 0d 0a |L.Remove|();..}..|
|00001cf0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 57 69 6e |....func|tion Win|
|00001d00| 64 6f 77 45 76 65 6e 74 | 28 57 69 6e 4d 65 73 73 |dowEvent|(WinMess|
|00001d10| 61 67 65 20 4d 73 67 2c | 20 43 61 6e 76 61 73 20 |age Msg,| Canvas |
|00001d20| 43 2c 20 66 6c 6f 61 74 | 20 58 2c 20 66 6c 6f 61 |C, float| X, floa|
|00001d30| 74 20 59 2c 20 69 6e 74 | 20 4b 65 79 29 20 0d 0a |t Y, int| Key) ..|
|00001d40| 7b 0d 0a 09 73 77 69 74 | 63 68 28 4d 73 67 29 20 |{...swit|ch(Msg) |
|00001d50| 7b 0d 0a 09 63 61 73 65 | 20 57 4d 5f 4b 65 79 44 |{...case| WM_KeyD|
|00001d60| 6f 77 6e 3a 0d 0a 09 09 | 69 66 28 48 6f 74 4b 65 |own:....|if(HotKe|
|00001d70| 79 44 6f 77 6e 28 4b 65 | 79 2c 20 58 2c 20 59 29 |yDown(Ke|y, X, Y)|
|00001d80| 29 0d 0a 09 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 |).....re|turn;...|
|00001d90| 09 62 72 65 61 6b 3b 0d | 0a 09 63 61 73 65 20 57 |.break;.|..case W|
|00001da0| 4d 5f 4b 65 79 55 70 3a | 0d 0a 09 09 69 66 28 48 |M_KeyUp:|....if(H|
|00001db0| 6f 74 4b 65 79 55 70 28 | 4b 65 79 2c 20 58 2c 20 |otKeyUp(|Key, X, |
|00001dc0| 59 29 29 0d 0a 09 09 09 | 72 65 74 75 72 6e 3b 0d |Y)).....|return;.|
|00001dd0| 0a 09 09 62 72 65 61 6b | 3b 0d 0a 09 7d 0d 0a 0d |...break|;...}...|
|00001de0| 0a 09 53 75 70 65 72 2e | 57 69 6e 64 6f 77 45 76 |..Super.|WindowEv|
|00001df0| 65 6e 74 28 4d 73 67 2c | 20 43 2c 20 58 2c 20 59 |ent(Msg,| C, X, Y|
|00001e00| 2c 20 4b 65 79 29 3b 0d | 0a 7d 0d 0a 0d 0a 0d 0a |, Key);.|.}......|
|00001e10| 66 75 6e 63 74 69 6f 6e | 20 62 6f 6f 6c 20 48 6f |function| bool Ho|
|00001e20| 74 4b 65 79 44 6f 77 6e | 28 69 6e 74 20 4b 65 79 |tKeyDown|(int Key|
|00001e30| 2c 20 66 6c 6f 61 74 20 | 58 2c 20 66 6c 6f 61 74 |, float |X, float|
|00001e40| 20 59 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 55 | Y)..{..|.local U|
|00001e50| 57 69 6e 64 6f 77 48 6f | 74 6b 65 79 57 69 6e 64 |WindowHo|tkeyWind|
|00001e60| 6f 77 4c 69 73 74 20 6c | 3b 0d 0a 0d 0a 09 6c 20 |owList l|;.....l |
|00001e70| 3d 20 55 57 69 6e 64 6f | 77 48 6f 74 6b 65 79 57 |= UWindo|wHotkeyW|
|00001e80| 69 6e 64 6f 77 4c 69 73 | 74 28 48 6f 74 6b 65 79 |indowLis|t(Hotkey|
|00001e90| 57 69 6e 64 6f 77 73 2e | 4e 65 78 74 29 3b 0d 0a |Windows.|Next);..|
|00001ea0| 09 77 68 69 6c 65 28 6c | 20 21 3d 20 4e 6f 6e 65 |.while(l| != None|
|00001eb0| 29 20 0d 0a 09 7b 0d 0a | 09 09 69 66 28 6c 2e 57 |) ...{..|..if(l.W|
|00001ec0| 69 6e 64 6f 77 20 21 3d | 20 53 65 6c 66 20 26 26 |indow !=| Self &&|
|00001ed0| 20 6c 2e 57 69 6e 64 6f | 77 2e 48 6f 74 4b 65 79 | l.Windo|w.HotKey|
|00001ee0| 44 6f 77 6e 28 4b 65 79 | 2c 20 58 2c 20 59 29 29 |Down(Key|, X, Y))|
|00001ef0| 20 72 65 74 75 72 6e 20 | 54 72 75 65 3b 0d 0a 09 | return |True;...|
|00001f00| 09 6c 20 3d 20 55 57 69 | 6e 64 6f 77 48 6f 74 6b |.l = UWi|ndowHotk|
|00001f10| 65 79 57 69 6e 64 6f 77 | 4c 69 73 74 28 6c 2e 4e |eyWindow|List(l.N|
|00001f20| 65 78 74 29 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 72 65 |ext);...|}.....re|
|00001f30| 74 75 72 6e 20 46 61 6c | 73 65 3b 0d 0a 7d 0d 0a |turn Fal|se;..}..|
|00001f40| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 62 6f 6f 6c 20 |..functi|on bool |
|00001f50| 48 6f 74 4b 65 79 55 70 | 28 69 6e 74 20 4b 65 79 |HotKeyUp|(int Key|
|00001f60| 2c 20 66 6c 6f 61 74 20 | 58 2c 20 66 6c 6f 61 74 |, float |X, float|
|00001f70| 20 59 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 55 | Y)..{..|.local U|
|00001f80| 57 69 6e 64 6f 77 48 6f | 74 6b 65 79 57 69 6e 64 |WindowHo|tkeyWind|
|00001f90| 6f 77 4c 69 73 74 20 6c | 3b 0d 0a 0d 0a 09 6c 20 |owList l|;.....l |
|00001fa0| 3d 20 55 57 69 6e 64 6f | 77 48 6f 74 6b 65 79 57 |= UWindo|wHotkeyW|
|00001fb0| 69 6e 64 6f 77 4c 69 73 | 74 28 48 6f 74 6b 65 79 |indowLis|t(Hotkey|
|00001fc0| 57 69 6e 64 6f 77 73 2e | 4e 65 78 74 29 3b 0d 0a |Windows.|Next);..|
|00001fd0| 09 77 68 69 6c 65 28 6c | 20 21 3d 20 4e 6f 6e 65 |.while(l| != None|
|00001fe0| 29 20 0d 0a 09 7b 0d 0a | 09 09 69 66 28 6c 2e 57 |) ...{..|..if(l.W|
|00001ff0| 69 6e 64 6f 77 20 21 3d | 20 53 65 6c 66 20 26 26 |indow !=| Self &&|
|00002000| 20 6c 2e 57 69 6e 64 6f | 77 2e 48 6f 74 4b 65 79 | l.Windo|w.HotKey|
|00002010| 55 70 28 4b 65 79 2c 20 | 58 2c 20 59 29 29 20 72 |Up(Key, |X, Y)) r|
|00002020| 65 74 75 72 6e 20 54 72 | 75 65 3b 0d 0a 09 09 6c |eturn Tr|ue;....l|
|00002030| 20 3d 20 55 57 69 6e 64 | 6f 77 48 6f 74 6b 65 79 | = UWind|owHotkey|
|00002040| 57 69 6e 64 6f 77 4c 69 | 73 74 28 6c 2e 4e 65 78 |WindowLi|st(l.Nex|
|00002050| 74 29 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 72 65 74 75 |t);...}.|....retu|
|00002060| 72 6e 20 46 61 6c 73 65 | 3b 0d 0a 7d 0d 0a 0d 0a |rn False|;..}....|
|00002070| 66 75 6e 63 74 69 6f 6e | 20 43 6c 6f 73 65 41 63 |function| CloseAc|
|00002080| 74 69 76 65 57 69 6e 64 | 6f 77 28 29 0d 0a 7b 0d |tiveWind|ow()..{.|
|00002090| 0a 09 69 66 28 41 63 74 | 69 76 65 57 69 6e 64 6f |..if(Act|iveWindo|
|000020a0| 77 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 41 63 |w != Non|e)....Ac|
|000020b0| 74 69 76 65 57 69 6e 64 | 6f 77 2e 45 73 63 43 6c |tiveWind|ow.EscCl|
|000020c0| 6f 73 65 28 29 3b 0d 0a | 09 65 6c 73 65 0d 0a 09 |ose();..|.else...|
|000020d0| 09 43 6f 6e 73 6f 6c 65 | 2e 43 6c 6f 73 65 55 57 |.Console|.CloseUW|
|000020e0| 69 6e 64 6f 77 28 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |indow();|..}....f|
|000020f0| 75 6e 63 74 69 6f 6e 20 | 52 65 73 69 7a 65 64 28 |unction |Resized(|
|00002100| 29 0d 0a 7b 0d 0a 09 52 | 65 73 6f 6c 75 74 69 6f |)..{...R|esolutio|
|00002110| 6e 43 68 61 6e 67 65 64 | 28 57 69 6e 57 69 64 74 |nChanged|(WinWidt|
|00002120| 68 2c 20 57 69 6e 48 65 | 69 67 68 74 29 3b 0d 0a |h, WinHe|ight);..|
|00002130| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 65 |}....fun|ction Se|
|00002140| 74 53 63 61 6c 65 28 66 | 6c 6f 61 74 20 4e 65 77 |tScale(f|loat New|
|00002150| 53 63 61 6c 65 29 0d 0a | 7b 0d 0a 09 57 69 6e 57 |Scale)..|{...WinW|
|00002160| 69 64 74 68 20 3d 20 52 | 65 61 6c 57 69 64 74 68 |idth = R|ealWidth|
|00002170| 20 2f 20 4e 65 77 53 63 | 61 6c 65 3b 0d 0a 09 57 | / NewSc|ale;...W|
|00002180| 69 6e 48 65 69 67 68 74 | 20 3d 20 52 65 61 6c 48 |inHeight| = RealH|
|00002190| 65 69 67 68 74 20 2f 20 | 4e 65 77 53 63 61 6c 65 |eight / |NewScale|
|000021a0| 3b 0d 0a 0d 0a 09 47 55 | 49 53 63 61 6c 65 20 3d |;.....GU|IScale =|
|000021b0| 20 4e 65 77 53 63 61 6c | 65 3b 0d 0a 0d 0a 09 43 | NewScal|e;.....C|
|000021c0| 6c 69 70 70 69 6e 67 52 | 65 67 69 6f 6e 2e 58 20 |lippingR|egion.X |
|000021d0| 3d 20 30 3b 0d 0a 09 43 | 6c 69 70 70 69 6e 67 52 |= 0;...C|lippingR|
|000021e0| 65 67 69 6f 6e 2e 59 20 | 3d 20 30 3b 0d 0a 09 43 |egion.Y |= 0;...C|
|000021f0| 6c 69 70 70 69 6e 67 52 | 65 67 69 6f 6e 2e 57 20 |lippingR|egion.W |
|00002200| 3d 20 57 69 6e 57 69 64 | 74 68 3b 0d 0a 09 43 6c |= WinWid|th;...Cl|
|00002210| 69 70 70 69 6e 67 52 65 | 67 69 6f 6e 2e 48 20 3d |ippingRe|gion.H =|
|00002220| 20 57 69 6e 48 65 69 67 | 68 74 3b 0d 0a 0d 0a 09 | WinHeig|ht;.....|
|00002230| 53 65 74 75 70 46 6f 6e | 74 73 28 29 3b 0d 0a 0d |SetupFon|ts();...|
|00002240| 0a 09 52 65 73 69 7a 65 | 64 28 29 3b 0d 0a 7d 0d |..Resize|d();..}.|
|00002250| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 53 65 74 75 |...funct|ion Setu|
|00002260| 70 46 6f 6e 74 73 28 29 | 0d 0a 7b 0d 0a 09 2f 2f |pFonts()|..{...//|
|00002270| 21 21 20 4a 61 70 61 6e | 65 73 65 20 74 65 78 74 |!! Japan|ese text|
|00002280| 20 28 65 78 70 65 72 69 | 6d 65 6e 74 61 6c 29 2e | (experi|mental).|
|00002290| 0d 0a 09 2f 2a 69 66 28 | 20 74 72 75 65 20 29 0d |.../*if(| true ).|
|000022a0| 0a 09 7b 0d 0a 09 09 46 | 6f 6e 74 73 5b 46 5f 4e |..{....F|onts[F_N|
|000022b0| 6f 72 6d 61 6c 5d 20 20 | 20 20 3d 20 46 6f 6e 74 |ormal] | = Font|
|000022c0| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|000022d0| 63 74 28 22 4a 61 70 61 | 6e 65 73 65 2e 4a 61 70 |ct("Japa|nese.Jap|
|000022e0| 61 6e 65 73 65 22 2c 20 | 63 6c 61 73 73 27 46 6f |anese", |class'Fo|
|000022f0| 6e 74 27 29 29 3b 0d 0a | 09 09 46 6f 6e 74 73 5b |nt'));..|..Fonts[|
|00002300| 46 5f 42 6f 6c 64 5d 20 | 20 20 20 20 20 3d 20 46 |F_Bold] | = F|
|00002310| 6f 6e 74 28 44 79 6e 61 | 6d 69 63 4c 6f 61 64 4f |ont(Dyna|micLoadO|
|00002320| 62 6a 65 63 74 28 22 4a | 61 70 61 6e 65 73 65 2e |bject("J|apanese.|
|00002330| 4a 61 70 61 6e 65 73 65 | 22 2c 20 63 6c 61 73 73 |Japanese|", class|
|00002340| 27 46 6f 6e 74 27 29 29 | 3b 0d 0a 09 09 46 6f 6e |'Font'))|;....Fon|
|00002350| 74 73 5b 46 5f 4c 61 72 | 67 65 5d 20 20 20 20 20 |ts[F_Lar|ge] |
|00002360| 3d 20 46 6f 6e 74 28 44 | 79 6e 61 6d 69 63 4c 6f |= Font(D|ynamicLo|
|00002370| 61 64 4f 62 6a 65 63 74 | 28 22 4a 61 70 61 6e 65 |adObject|("Japane|
|00002380| 73 65 2e 4a 61 70 61 6e | 65 73 65 22 2c 20 63 6c |se.Japan|ese", cl|
|00002390| 61 73 73 27 46 6f 6e 74 | 27 29 29 3b 0d 0a 09 09 |ass'Font|'));....|
|000023a0| 46 6f 6e 74 73 5b 46 5f | 4c 61 72 67 65 42 6f 6c |Fonts[F_|LargeBol|
|000023b0| 64 5d 20 3d 20 46 6f 6e | 74 28 44 79 6e 61 6d 69 |d] = Fon|t(Dynami|
|000023c0| 63 4c 6f 61 64 4f 62 6a | 65 63 74 28 22 4a 61 70 |cLoadObj|ect("Jap|
|000023d0| 61 6e 65 73 65 2e 4a 61 | 70 61 6e 65 73 65 22 2c |anese.Ja|panese",|
|000023e0| 20 63 6c 61 73 73 27 46 | 6f 6e 74 27 29 29 3b 0d | class'F|ont'));.|
|000023f0| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 09 7d 2a 2f |...retur|n;...}*/|
|00002400| 0d 0a 09 69 66 28 47 55 | 49 53 63 61 6c 65 20 3d |...if(GU|IScale =|
|00002410| 3d 20 32 29 0d 0a 09 7b | 0d 0a 09 09 46 6f 6e 74 |= 2)...{|....Font|
|00002420| 73 5b 46 5f 4e 6f 72 6d | 61 6c 5d 20 3d 20 46 6f |s[F_Norm|al] = Fo|
|00002430| 6e 74 28 44 79 6e 61 6d | 69 63 4c 6f 61 64 4f 62 |nt(Dynam|icLoadOb|
|00002440| 6a 65 63 74 28 22 55 57 | 69 6e 64 6f 77 46 6f 6e |ject("UW|indowFon|
|00002450| 74 73 2e 54 61 68 6f 6d | 61 32 30 22 2c 20 63 6c |ts.Tahom|a20", cl|
|00002460| 61 73 73 27 46 6f 6e 74 | 27 29 29 3b 0d 0a 09 09 |ass'Font|'));....|
|00002470| 46 6f 6e 74 73 5b 46 5f | 42 6f 6c 64 5d 20 3d 20 |Fonts[F_|Bold] = |
|00002480| 46 6f 6e 74 28 44 79 6e | 61 6d 69 63 4c 6f 61 64 |Font(Dyn|amicLoad|
|00002490| 4f 62 6a 65 63 74 28 22 | 55 57 69 6e 64 6f 77 46 |Object("|UWindowF|
|000024a0| 6f 6e 74 73 2e 54 61 68 | 6f 6d 61 42 32 30 22 2c |onts.Tah|omaB20",|
|000024b0| 20 63 6c 61 73 73 27 46 | 6f 6e 74 27 29 29 3b 0d | class'F|ont'));.|
|000024c0| 0a 09 09 46 6f 6e 74 73 | 5b 46 5f 4c 61 72 67 65 |...Fonts|[F_Large|
|000024d0| 5d 20 3d 20 46 6f 6e 74 | 28 44 79 6e 61 6d 69 63 |] = Font|(Dynamic|
|000024e0| 4c 6f 61 64 4f 62 6a 65 | 63 74 28 22 55 57 69 6e |LoadObje|ct("UWin|
|000024f0| 64 6f 77 46 6f 6e 74 73 | 2e 54 61 68 6f 6d 61 33 |dowFonts|.Tahoma3|
|00002500| 30 22 2c 20 63 6c 61 73 | 73 27 46 6f 6e 74 27 29 |0", clas|s'Font')|
|00002510| 29 3b 0d 0a 09 09 46 6f | 6e 74 73 5b 46 5f 4c 61 |);....Fo|nts[F_La|
|00002520| 72 67 65 42 6f 6c 64 5d | 20 3d 20 46 6f 6e 74 28 |rgeBold]| = Font(|
|00002530| 44 79 6e 61 6d 69 63 4c | 6f 61 64 4f 62 6a 65 63 |DynamicL|oadObjec|
|00002540| 74 28 22 55 57 69 6e 64 | 6f 77 46 6f 6e 74 73 2e |t("UWind|owFonts.|
|00002550| 54 61 68 6f 6d 61 42 33 | 30 22 2c 20 63 6c 61 73 |TahomaB3|0", clas|
|00002560| 73 27 46 6f 6e 74 27 29 | 29 3b 0d 0a 09 7d 0d 0a |s'Font')|);...}..|
|00002570| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 46 6f 6e |.else...|{....Fon|
|00002580| 74 73 5b 46 5f 4e 6f 72 | 6d 61 6c 5d 20 3d 20 46 |ts[F_Nor|mal] = F|
|00002590| 6f 6e 74 28 44 79 6e 61 | 6d 69 63 4c 6f 61 64 4f |ont(Dyna|micLoadO|
|000025a0| 62 6a 65 63 74 28 22 55 | 57 69 6e 64 6f 77 46 6f |bject("U|WindowFo|
|000025b0| 6e 74 73 2e 54 61 68 6f | 6d 61 31 30 22 2c 20 63 |nts.Taho|ma10", c|
|000025c0| 6c 61 73 73 27 46 6f 6e | 74 27 29 29 3b 0d 0a 09 |lass'Fon|t'));...|
|000025d0| 09 46 6f 6e 74 73 5b 46 | 5f 42 6f 6c 64 5d 20 3d |.Fonts[F|_Bold] =|
|000025e0| 20 46 6f 6e 74 28 44 79 | 6e 61 6d 69 63 4c 6f 61 | Font(Dy|namicLoa|
|000025f0| 64 4f 62 6a 65 63 74 28 | 22 55 57 69 6e 64 6f 77 |dObject(|"UWindow|
|00002600| 46 6f 6e 74 73 2e 54 61 | 68 6f 6d 61 42 31 30 22 |Fonts.Ta|homaB10"|
|00002610| 2c 20 63 6c 61 73 73 27 | 46 6f 6e 74 27 29 29 3b |, class'|Font'));|
|00002620| 0d 0a 09 09 46 6f 6e 74 | 73 5b 46 5f 4c 61 72 67 |....Font|s[F_Larg|
|00002630| 65 5d 20 3d 20 46 6f 6e | 74 28 44 79 6e 61 6d 69 |e] = Fon|t(Dynami|
|00002640| 63 4c 6f 61 64 4f 62 6a | 65 63 74 28 22 55 57 69 |cLoadObj|ect("UWi|
|00002650| 6e 64 6f 77 46 6f 6e 74 | 73 2e 54 61 68 6f 6d 61 |ndowFont|s.Tahoma|
|00002660| 32 30 22 2c 20 63 6c 61 | 73 73 27 46 6f 6e 74 27 |20", cla|ss'Font'|
|00002670| 29 29 3b 0d 0a 09 09 46 | 6f 6e 74 73 5b 46 5f 4c |));....F|onts[F_L|
|00002680| 61 72 67 65 42 6f 6c 64 | 5d 20 3d 20 46 6f 6e 74 |argeBold|] = Font|
|00002690| 28 44 79 6e 61 6d 69 63 | 4c 6f 61 64 4f 62 6a 65 |(Dynamic|LoadObje|
|000026a0| 63 74 28 22 55 57 69 6e | 64 6f 77 46 6f 6e 74 73 |ct("UWin|dowFonts|
|000026b0| 2e 54 61 68 6f 6d 61 42 | 32 30 22 2c 20 63 6c 61 |.TahomaB|20", cla|
|000026c0| 73 73 27 46 6f 6e 74 27 | 29 29 3b 0d 0a 09 7d 09 |ss'Font'|));...}.|
|000026d0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000026e0| 43 68 61 6e 67 65 4c 6f | 6f 6b 41 6e 64 46 65 65 |ChangeLo|okAndFee|
|000026f0| 6c 28 73 74 72 69 6e 67 | 20 4e 65 77 4c 6f 6f 6b |l(string| NewLook|
|00002700| 41 6e 64 46 65 65 6c 29 | 0d 0a 7b 0d 0a 09 4c 6f |AndFeel)|..{...Lo|
|00002710| 6f 6b 41 6e 64 46 65 65 | 6c 43 6c 61 73 73 20 3d |okAndFee|lClass =|
|00002720| 20 4e 65 77 4c 6f 6f 6b | 41 6e 64 46 65 65 6c 3b | NewLook|AndFeel;|
|00002730| 0d 0a 09 53 61 76 65 43 | 6f 6e 66 69 67 28 29 3b |...SaveC|onfig();|
|00002740| 0d 0a 0d 0a 09 2f 2f 20 | 43 6f 6d 70 6c 65 74 65 |.....// |Complete|
|00002750| 6c 79 20 72 65 73 74 61 | 72 74 20 55 57 69 6e 64 |ly resta|rt UWind|
|00002760| 6f 77 20 73 79 73 74 65 | 6d 20 6f 6e 20 74 68 65 |ow syste|m on the|
|00002770| 20 6e 65 78 74 20 70 61 | 69 6e 74 0d 0a 09 43 6f | next pa|int...Co|
|00002780| 6e 73 6f 6c 65 2e 52 65 | 73 65 74 55 57 69 6e 64 |nsole.Re|setUWind|
|00002790| 6f 77 28 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |ow();..}|....func|
|000027a0| 74 69 6f 6e 20 48 69 64 | 65 57 69 6e 64 6f 77 28 |tion Hid|eWindow(|
|000027b0| 29 0d 0a 7b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |)..{..}.|...funct|
|000027c0| 69 6f 6e 20 53 65 74 4d | 6f 75 73 65 50 6f 73 28 |ion SetM|ousePos(|
|000027d0| 66 6c 6f 61 74 20 58 2c | 20 66 6c 6f 61 74 20 59 |float X,| float Y|
|000027e0| 29 0d 0a 7b 0d 0a 09 43 | 6f 6e 73 6f 6c 65 2e 4d |)..{...C|onsole.M|
|000027f0| 6f 75 73 65 58 20 3d 20 | 58 3b 0d 0a 09 43 6f 6e |ouseX = |X;...Con|
|00002800| 73 6f 6c 65 2e 4d 6f 75 | 73 65 59 20 3d 20 59 3b |sole.Mou|seY = Y;|
|00002810| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00002820| 51 75 69 74 47 61 6d 65 | 28 29 0d 0a 7b 0d 0a 09 |QuitGame|()..{...|
|00002830| 62 52 65 71 75 65 73 74 | 51 75 69 74 20 3d 20 54 |bRequest|Quit = T|
|00002840| 72 75 65 3b 0d 0a 09 51 | 75 69 74 54 69 6d 65 20 |rue;...Q|uitTime |
|00002850| 3d 20 30 3b 0d 0a 09 4e | 6f 74 69 66 79 51 75 69 |= 0;...N|otifyQui|
|00002860| 74 55 6e 72 65 61 6c 28 | 29 3b 0d 0a 7d 0d 0a 0d |tUnreal(|);..}...|
|00002870| 0a 66 75 6e 63 74 69 6f | 6e 20 44 6f 51 75 69 74 |.functio|n DoQuit|
|00002880| 47 61 6d 65 28 29 0d 0a | 7b 0d 0a 09 53 61 76 65 |Game()..|{...Save|
|00002890| 43 6f 6e 66 69 67 28 29 | 3b 0d 0a 09 43 6f 6e 73 |Config()|;...Cons|
|000028a0| 6f 6c 65 2e 53 61 76 65 | 43 6f 6e 66 69 67 28 29 |ole.Save|Config()|
|000028b0| 3b 0d 0a 09 43 6f 6e 73 | 6f 6c 65 2e 56 69 65 77 |;...Cons|ole.View|
|000028c0| 50 6f 72 74 2e 41 63 74 | 6f 72 2e 53 61 76 65 43 |Port.Act|or.SaveC|
|000028d0| 6f 6e 66 69 67 28 29 3b | 0d 0a 09 43 6c 6f 73 65 |onfig();|...Close|
|000028e0| 28 29 3b 0d 0a 09 43 6f | 6e 73 6f 6c 65 2e 56 69 |();...Co|nsole.Vi|
|000028f0| 65 77 70 6f 72 74 2e 41 | 63 74 6f 72 2e 43 6f 6e |ewport.A|ctor.Con|
|00002900| 73 6f 6c 65 43 6f 6d 6d | 61 6e 64 28 22 65 78 69 |soleComm|and("exi|
|00002910| 74 22 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |t");..}.|...funct|
|00002920| 69 6f 6e 20 54 69 63 6b | 28 66 6c 6f 61 74 20 44 |ion Tick|(float D|
|00002930| 65 6c 74 61 29 0d 0a 7b | 0d 0a 09 69 66 28 62 52 |elta)..{|...if(bR|
|00002940| 65 71 75 65 73 74 51 75 | 69 74 29 0d 0a 09 7b 0d |equestQu|it)...{.|
|00002950| 0a 09 09 2f 2f 20 47 69 | 76 65 20 65 76 65 72 79 |...// Gi|ve every|
|00002960| 74 68 69 6e 67 20 74 69 | 6d 65 20 74 6f 20 63 6c |thing ti|me to cl|
|00002970| 6f 73 65 20 69 74 73 65 | 6c 66 20 64 6f 77 6e 20 |ose itse|lf down |
|00002980| 28 69 65 20 73 6f 63 6b | 65 74 73 29 2e 0d 0a 09 |(ie sock|ets)....|
|00002990| 09 69 66 28 51 75 69 74 | 54 69 6d 65 20 3e 20 30 |.if(Quit|Time > 0|
|000029a0| 2e 32 35 29 0d 0a 09 09 | 09 44 6f 51 75 69 74 47 |.25)....|.DoQuitG|
|000029b0| 61 6d 65 28 29 3b 0d 0a | 09 09 51 75 69 74 54 69 |ame();..|..QuitTi|
|000029c0| 6d 65 20 2b 3d 20 44 65 | 6c 74 61 3b 0d 0a 09 7d |me += De|lta;...}|
|000029d0| 0d 0a 0d 0a 09 53 75 70 | 65 72 2e 54 69 63 6b 28 |.....Sup|er.Tick(|
|000029e0| 44 65 6c 74 61 29 3b 0d | 0a 7d 0d 0a 0d 0a 00 |Delta);.|.}..... |
+--------+-------------------------+-------------------------+--------+--------+